package com.uchengwang.functions.http.config;

import com.uchengwang.functions.http.listener.IHttpManager;

/**
 * Created by U城网 on 2017/4/21.
 * 用户操作网络配置
 */

public interface UserConfig {
    /**
     * 修改个人信息
     * */
    public interface ChangeInfo {
        IHttpManager.RequestMethod method_change = IHttpManager.RequestMethod.PUT;//修改某人的信息
        IHttpManager.RequestMethod method_check  = IHttpManager.RequestMethod.GET;//查看某个人信息
        String URL = "/user";
    }

    /**
     *查看某个人的粉丝
     * */
    public interface UserFans{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.GET;
        String URL = "/user/fans";
    }

    //查看一个人的关注  || 关注某人  || 取消关注某人
    public interface UserFollow{
        IHttpManager.RequestMethod method_check = IHttpManager.RequestMethod.GET;//查看一个人的关注信息
        IHttpManager.RequestMethod method_follow = IHttpManager.RequestMethod.POST;//关注某人
        IHttpManager.RequestMethod method_delete = IHttpManager.RequestMethod.DELETE;//取消关注某人

        String URL = "/user/follow";
    }

    /**
     * 个人建群
     * */
    public interface CreateGroup{
        IHttpManager.RequestMethod method_create = IHttpManager.RequestMethod.POST;
        String URL = "/user/group";

    }

    /**
     * 查找list用户集合信息
     * */
    public interface UserInfoList{

        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.POST;
        String URL = "/user/userlist";
    }

    /**
     * 获取我的好友
     * */
    public interface UserFriends{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.GET;
        String URL = "/user/friends";
    }

    /**
     * 查看本人所有管理的社团
     * */
    public interface MyClubs{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.GET;
        String URL = "/user/org";
    }

    /**
     * 查看本人加入的社团[非社长]
     * */
    public interface JoinClub{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.GET;
        String URL = "/user/org/member";
    }

    /**
     * 切换账户
     * */
    public interface SwitchAccount{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.POST;
        String URL = "/user/change/role/org";//切换到社团
        String URL_PER = "/user/change/role/normal";//切换到个人
    }

    /**
     * 转让群的管理群
     * */
    public interface GroupTransfer{
        IHttpManager.RequestMethod method_put = IHttpManager.RequestMethod.PUT;
        String URL = "/user/group/transfer";
    }
    /**
     * 查看我创建的环信群组
     * */
    public interface ChackMyGroup{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.GET;
        String URL = "/user/group/my";
    }

    /**
     * 举报个人
     * */
    public interface ReportPer{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.PUT;
        String URL = "/user/report";
    }

    /**
     * 举报群组
     * */
    public interface ReportGroup{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.PUT;
        String URL = "/user/report/group";
    }

    /**
     * 推荐用户
     * */
    public interface Recomment{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.GET;
        String URL = "/user/recommend";
    }

    /**
     * 查看我的关注 粉丝  好友数
     * */
    public interface CheckMyCount{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.GET;
        String URL = "/user/relation/count";
    }

    /**
     * 更改备注
     * */
    public interface RemarkName{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.POST;
        String URL = "/user/remark";
    }

    /**
     * 获取反馈
     * */
    public interface Feedback{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.GET;
        String URL = "/user/feedback/response";
        String URL_NUM = "/user/feedback/response/unread";//获取反馈信息的未读数
    }

    /**
     * 学生认证
     * */
    public interface StudentAuthen{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.POST;
        String URL = "/user/auth/stu";
    }

    /**
     * 获取一个班级的其他学生
     * */
    public interface GetClassStu{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.GET;
        String URL = "/user/school/class/stu";
    }

    /**
     * 用老token获取新token
     * */
    public interface GetNewToken{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.POST;
        String URL = "/user/newtoken";
    }

    /**
     * 获取我的系统通知
     * */
    public interface GetMyNotice{
        IHttpManager.RequestMethod mrthod = IHttpManager.RequestMethod.GET;
        String URL = "/user/noticemsg";
    }

    String USER_MOBILE_LIST = "/user/mobilelist";//通过通讯录匹配好友
    String USER_INVITE_MSG = "/user/invitemsg";//给未注册的人发送注册信息


}
